﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Classes.PopulationTriggers {
    import Transactions.*;
    import Classes.util.*;

    public class ManualQuestTrigger implements IPopulationTrigger {

        protected var m_hasTriggered:Boolean = false;
        protected var m_questName:String;

        public function ManualQuestTrigger(_arg1:XML){
            this.m_questName = String(_arg1.@name);
        }
        public function trigger():void{
            this.m_hasTriggered = true;
            GameTransactionManager.addTransaction(new TStartManualQuest(this.m_questName), true);
        }
        public function hasTriggered():Boolean{
            return (this.m_hasTriggered);
        }

    }
}//package Classes.PopulationTriggers 
